//package com.eastfair.security.filter;
//
//import com.eastfair.security.encrypt.ParamResultFilter;
//import org.springframework.boot.web.servlet.FilterRegistrationBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class AesFilterConfig {
//    @Bean
//    public FilterRegistrationBean registerParamFilter(ParamResultFilter paramResultFilter) {
//        FilterRegistrationBean registrationBean = new FilterRegistrationBean();
//        registrationBean.setFilter(paramResultFilter);
//        registrationBean.setName("paramResultFilter");
//        registrationBean.addUrlPatterns("/*");
//        registrationBean.setOrder(2);
//        return registrationBean;
//    }
//
//}
